package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.AuthParameters;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuthParametersRepository extends JpaRepository<AuthParameters, Long> {


    Page<AuthParameters> findByAuthType(Integer authType, Pageable page);

    List<AuthParameters> findAllByCodeEquals(String code);
}
